package model

import "gorm.io/gorm"

type Module struct {
	gorm.Model
	Name         string `gorm:"not null;unique"`
	Desc         string
	CreateType   string `gorm:"not null"`
	ModuleType   string `gorm:"not null"`
	Parent       uint   `gorm:"not null"`
	Position     string `gorm:"not null"`
	App          string `gorm:"not null"`
	Space        string `gorm:"not null"`
	Device       string `gorm:"not null"`
	Data         string
	LastReport   string
	Dependencies []Dependency
}
